package com.jie.jie.mvp.util;

import retrofit2.http.GET;
import retrofit2.http.Path;
import rx.Observable;

/**
 * Created by jie on 2017/1/20.
 */

public interface GankService {

    @GET("data/{type}/{number}/{page}")
    Observable<String> getGankData(@Path("type") String type,
                                   @Path("number") int pageSize,
                                   @Path("page") int pageNum);

    @GET("{page}")
    Observable<String> getMeizi(@Path("page") int page);
//    @GET("ads/cptj")
//    Observable<String> getMeizi();
}

